Skip to content

Fix PSR-4 validation to accept all valid namespace candidates when multiple mappings cover the same file - #110

Merged
samsonasik merged 4 commits into
mainfrom
psr-4-longest
May 29, 2026
Merged

Fix PSR-4 validation to accept all valid namespace candidates when multiple mappings cover the same file#110
samsonasik merged 4 commits into
mainfrom
psr-4-longest

Conversation

@samsonasik

Copy link
Copy Markdown
Member

No description provided.

@codecov

codecov Bot commented May 29, 2026

Copy link
Copy Markdown

Codecov Report

✅ All modified and coverable lines are covered by tests.

📢 Thoughts on this report? Let us know!

@samsonasik
samsonasik marked this pull request as draft May 29, 2026 01:16
@samsonasik samsonasik changed the title Fix PSR-4 namespace resolution for overlapping prefix paths by selecting longest matching subdirectory Fix PSR-4 validation to accept valid short-prefix namespace when file also matches longer overlapping prefix May 29, 2026
@samsonasik samsonasik changed the title Fix PSR-4 validation to accept valid short-prefix namespace when file also matches longer overlapping prefix Fix PSR-4 validation to accept all valid namespace candidates when multiple mappings cover the same file May 29, 2026
@samsonasik
samsonasik marked this pull request as ready for review May 29, 2026 01:35
@samsonasik
samsonasik merged commit 28a4efa into main May 29, 2026
14 checks passed
@samsonasik
samsonasik deleted the psr-4-longest branch May 29, 2026 01:36
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant